<template>
	<view>
		<up-modal :show="show" :title="title" contentTextAlign="center" :width="width">


			<slot name="content"></slot>

			<template #confirmButton>
				<view>

					<slot name="confirmButton"></slot>

				</view>


			</template>
		</up-modal>
	</view>



</template>

<script setup>
	import {
		defineProps
	} from 'vue';
	const props = defineProps({
		show: {
			type: Boolean
		},
		title: {
			type: String
		},
		width:{
			type:String,
			default:'650rpx'
		}
	})
</script>

<style lang="scss" scoped>

</style>